<template>
    <div style="padding: 20px; background: #FFF">
          <at-table 
                style="width:100%;"
                :data='tableflow'
                :show-header='true'
                :border='false'
                        >  
                    <at-table-column label='文件名称' 
                                    :show-overflow-tooltip=true 
                                     prop='file_name' 
                                     width='auto'>
                    </at-table-column>
                    <at-table-column label='上报单位' 
                                    :show-overflow-tooltip=true 
                                     prop='up_unit' 
                                     width='auto'>
                    </at-table-column>   
                    <at-table-column label='上报时间' 
                                     prop='up_time' 
                                     width='auto'
                                     >
                    </at-table-column>
                    <at-table-column label='操作' 
                                     prop='ftp_dowload_addr' 
                                     width='auto'>
                        <template  slot-scope="scope">
                            <at-button ><a :href="scope.row.ftp_dowload_addr"  download=""  > 王飞FTP</a></at-button>
                        </template>
                    </at-table-column>         
                    </at-table>
    </div>
</template>
<script>
import { mapState } from 'vuex'
export default {
  data () {
    return {
    }
  },
  computed: {
    ...mapState({
      tableflow: state => state.taskManagement.tableflow
    })
  }
}
</script>
